package jsyf.oa.facade.device;

import com.alibaba.dubbo.rpc.protocol.rest.support.ContentType;
import com.alibaba.fastjson.JSONObject;

import javax.ws.rs.Consumes;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

/**
 * Created by y on 2018/3/12.
 */
@Path("/companyBrandService")
@Consumes({MediaType.APPLICATION_JSON, MediaType.TEXT_XML})
@Produces({ContentType.APPLICATION_JSON_UTF_8, ContentType.TEXT_XML_UTF_8})
public interface CompanyBrandFacade {
    @Path("/getCompanyBrandList")
    JSONObject getCompanyBrandList(String jsonData);

    @Path("/findCompanyList")
    JSONObject findCompanyList(String jsonData);

    @Path("/findBrandListByCompanyId")
    JSONObject findBrandListByCompanyId(String jsonData);

    @Path("/add")
    String add(String jsonData);

    @Path("/update")
    Boolean update(String jsonData);

    @Path("/remove")
    Boolean remove(String jsonData);

}
